package com.scedu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

//启动类
//Ribbon和Eureka 整合以后，客户端可以直接调用,不用关心IP地址和端口号
@EnableEurekaClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class APPapplication_consumer {
    public static void main(String[] args) {
        SpringApplication.run(APPapplication_consumer.class,args);
    }
}